package edu.sctu.practice.class02.shuqiqi.practice.demo05;

/**
 * Created by admin on 2015/11/5.
 */

/**
 * 抽象类
 */
public abstract class Learning {

    public void process() {
        openComputer();
        starLearn();
        closeComputer();
    }

    public void openComputer() {
        System.out.println("打开台式电脑");
    }

    public abstract void starLearn();

    public void closeComputer() {
        System.out.println("关闭台式电脑");
    }
}
